// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗   ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗  ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║   ██║   ██║   ██║██║     █████╗
// ██║╚██╗██║██║   ██║   ██║   ██║██║     ██╔══╝
// ██║ ╚████║╚██████╔╝   ██║   ██║╚██████╗███████╗
// ╚═╝  ╚═══╝ ╚═════╝    ╚═╝   ╚═╝ ╚═════╝╚══════╝
// ------------------------------------------------
//
// This file is automatically generated.
// Please do not edit these files manually.
//
// ------------------------------------------------

#nullable restore

using Elastic.Clients.Elasticsearch.Fluent;
using Elastic.Clients.Elasticsearch.Serialization;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text.Json;
using System.Text.Json.Serialization;

namespace Elastic.Clients.Elasticsearch.SearchableSnapshots;

public sealed partial class Shared
{
	[JsonInclude, JsonPropertyName("bytes_read_in_bytes")]
	public Elastic.Clients.Elasticsearch.ByteSize BytesReadInBytes { get; init; }
	[JsonInclude, JsonPropertyName("bytes_written_in_bytes")]
	public Elastic.Clients.Elasticsearch.ByteSize BytesWrittenInBytes { get; init; }
	[JsonInclude, JsonPropertyName("evictions")]
	public long Evictions { get; init; }
	[JsonInclude, JsonPropertyName("num_regions")]
	public int NumRegions { get; init; }
	[JsonInclude, JsonPropertyName("reads")]
	public long Reads { get; init; }
	[JsonInclude, JsonPropertyName("region_size_in_bytes")]
	public Elastic.Clients.Elasticsearch.ByteSize RegionSizeInBytes { get; init; }
	[JsonInclude, JsonPropertyName("size_in_bytes")]
	public Elastic.Clients.Elasticsearch.ByteSize SizeInBytes { get; init; }
	[JsonInclude, JsonPropertyName("writes")]
	public long Writes { get; init; }
}